﻿
@{
    ViewBag.Title = "Search";
}

<h2>Search</h2>
<p>
--
</p>

@using (Ajax.BeginForm("Search", "User", new AjaxOptions { HttpMethod = "POST", InsertionMode = InsertionMode.InsertBefore, UpdateTargetId = "searchResult" }))
{
    <input type="text" name="q" />
    <input type="submit" value="Search" />
}    

<div id="searchResult">

</div>
